package com.alen.sun.service;

import com.alen.sun.bean.Admin;
import com.alen.sun.bean.PageBean;

import java.util.List;

public interface AdminService {
    //添加管理员
    Boolean addAdmin(Admin admin);

    //登录
    Boolean login(Admin admin);

    //修改管理员信息
    Boolean updateAdmin(Admin admin);

    //删除管理员信息
    Boolean deleteAdmin(Admin admin);

    //分页查询
    PageBean page(Integer page, Integer pageSize);

    //批量删除
    Boolean deleteByIds(List<String> ids);
}
